package com.qf.service;

import com.qf.domain.Cart;
import com.qf.domain.Order;
import com.qf.domain.OrderDetail;

import java.util.List;

public interface OrderService {
    void submitOrder(Order order, List<Cart> cartList);

    List<Order> find(Integer uid);

    Order findByOid(String oid);

    List<OrderDetail> findDetail(String oid);


    List<Order> findAll();

    List<Order> fAll(String where, List<Object> params);
}

